package com.bk.routes;

import com.bk.controller.BKAdminController;
import com.bk.controller.BKBookingController;
import com.bk.controller.BKBranchOfficeController;
import com.bk.controller.BKItemController;
import com.bk.controller.BKSelectionController;
import com.bk.controller.BKShopController;
import com.bk.controller.BKUserController;
import com.bk.ui.controller.BKIndexController;
import com.bk.web.controller.BKWebHomeController;
import com.jfinal.config.Routes;

public class BKRoutes extends Routes {

	@Override
	public void config() {
		add("bk/item", BKItemController.class, "/bk/item");
		add("bk/branchOffice", BKBranchOfficeController.class, "bk/shop");
		add("bk/admin", BKAdminController.class);
		add("bk/selection", BKSelectionController.class, "/bk/selection");
		add("bk/booking", BKBookingController.class, "/bk/booking");
		add("bk/index", BKIndexController.class, "/bk/index");
		add("bk/shop", BKShopController.class, "/bk/shop");
		add("bk", BKIndexController.class, "/bk/index");
		// add("/", BKHomeController.class, "/bk/index");
		add("bk/web", BKWebHomeController.class, "/bk/web");
		add("bk/user", BKUserController.class, "/bk/user");
	}
}
